<%inherit file="/base.mako"/>


<%def name="content()">
<table>
	<thead>
		<tr>
			<th>Name</th>
			<th>Value</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td>ID</td>
			<td>${c.error.id}</td>
		</tr>
		<tr>
			<td>Time</td>
			<td>${c.error.time.strftime('%Y-%m-%d %I:%M %p')}</td>
		</tr>
		<tr>
			<td>App Name</td>
			<td>${c.error.app_name}</td>
		</tr>
		<tr>
			<td>Error Message</td>
			<td>${c.error.error_message}</td>
		</tr>
		<tr>
			<td>Message Name</td>
			<td>${c.error.message_name}</td>
		</tr>
		<tr>
			<td>Message Data</td>
			<td><pre>${c.rendered_data}</pre></td>
		</tr>
		<tr>
			<td>Traceback</td>
			<td><pre>${c.rendered_traceback}</pre></td>
		</tr>
		<tr>
			<td>Log</td>
			<td>
				<ul style="margin-left: 3em; list-style-type: circle">
					% for entry in c.rendered_log_entries:
						<li><pre>${entry}</pre></li>
					% endfor
				</ul>
			</td>
		</tr>
	</tbody>
</table>
</%def>
